Improving Hardware Branch Predictors using Artificial Neural Networks
نویسنده
چکیده
An abstract of the thesis of Andres Anibal Rustan for the Masters of Science in Electrical and Computer Engineering were presented November 1, 1999. Title: Improving Hardware Branch Predictors using Artificial Neural Networks This research shows that using an Artificial Neural Network as the hardware branch predictor of a microprocessor leads to performance as good as standard branch predictors for comparable chip area. The results were obtained running several Spec95 benchmarks on an augmented version of the simplescalar architecture simulator. The approach taken in this research is the first attempt to use Neural Networks to improve the design of hardware branch predictors, it points to a combination of static and dynamic techniques using artificial intelligence. The prediction rates achieved by the holistic-non-adaptive Neural Network predictor designed are promising. Even a simple Neural Network structure without an on-line adaptive mechanism performed better than current techniques for small predictor sizes. The neural net predictor achieved almost the same rates for most of the benchmarks of the Spec95 set and it was even 20% more accurate for one of them. However, the NN predictors developed were not able to achieve the same prediction rates than bigger standard predictor configurations. The performance of the non-adaptive NN predictors substantially decreases when the number of dynamic branches in the benchmark increases, showing that the dynamic characteristic of the benchmarks negatively affects the behavior of the non-adaptive Neural Network predictor. This indicates that in order to increase the prediction rate in highly dynamic programs it would be necessary to incorporate an adaptive mechanism, to yield Neural Network predictors competitive with the larger standard configurations. The method used was to train an Artificial Neural Network on the dynamics of programs, and particularly conditional branch instructions, when they are being executed in a microprocessor. After training the Neural Network on traces of programs, it was implemented in the simulator to replace the existent standard predictor with comparable results. Improving Hardware Branch Predictors using Artificial Neural Networks Submitted by Andres A. Rustan For Partial Fulfillment of Masters of Science in Electrical and Computer Engineering Department of Electrical Engineering Portland State University Portland, Oregon USA November, 1999
منابع مشابه
Branch Prediction using Advanced Neural Methods
Among the hardware techniques, two-level adaptive branch predictors with two-bit saturating counters are acknowledged as best branch predictors. They accomplish very competitive performance at low hardware cost. However, with the rapid of evolution of superscalar processors, the more accurate predictors are desired for more correct branch prediction as one of speculation method. They will lead ...
متن کاملUsing artificial neural networks to improve hardware branch predictors
Among the current techniques to predict the outcome of branches in modern microprocessors, two-level branch predictors have shown to be one of the best mechanisms. The correct prediction of branches is a fundamental factor for achieving high performance. Branch interference is a major contributor to the number of branches mispredicted by two-level predictors [4]. Increasing the size of the PHT ...
متن کاملApplications of Machine Learning Techniques to Systems
Perceptrons is a simple neural network that works as an alternative to the commonly used two-bit counters branch history table (BHT) branch predictor. Perceptrons achieves increased accuracy than traditional BHT branch predictors because they can make use of longer branch histories, given the same hardware budget. Although having very similar organization to BHT branch predictors, Perceptrons’ ...
متن کاملArtificial Neural Networks (ANN) for the simultaneous spectrophotometric determination of fluoxetine and sertraline in pharmaceutical formulations and biological fluid
Simultaneous spectrophotometric estimation of Fluoxetine and Sertraline in tablets were performed using UV–Vis spectroscopic and Artificial Neural Networks (ANN). Absorption spectra of two components were recorded in 200–300 (nm) wavelengths region with an interval of 1 nm. The calibration models were thoroughly evaluated at several concentration levels using the spectra of synthetic binary mix...
متن کاملPredicting the buckling Capacity of Steel Cylindrical Shells with Rectangular Stringers under Axial Loading by using Artificial Neural Networks
A parametric study was carried out in order to investigate the buckling capacity of the vertically stiffened cylindrical shells. To this end ANSYS software was used. Cylindrical steel shells with different yield stresses, diameter-to-thickness ratios (D/t) and number of stiffeners were modeled and their buckling capacities were calculated by displacement control nonlinear static analysis. Radi...
متن کامل